package st.business.tepth.business.bean;

import java.util.List;

/**
 * @author zhangyu
 * @date 2019/3/5
 * 游客界面的工位列表
 */
public class LocationBean {

    /**
     * workbenchNumber : 1001
     * organizationName : 五里坪修理厂
     * factoryAreaList : [{"organization_id":4,"name":"一号工位","id":12,"type":1}]
     */

    private String workbenchNumber;
    private String organizationName;
    private List<FactoryAreaListBean> factoryAreaList;

    public String getWorkbenchNumber() {
        return workbenchNumber;
    }

    public void setWorkbenchNumber(String workbenchNumber) {
        this.workbenchNumber = workbenchNumber;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public List<FactoryAreaListBean> getFactoryAreaList() {
        return factoryAreaList;
    }

    public void setFactoryAreaList(List<FactoryAreaListBean> factoryAreaList) {
        this.factoryAreaList = factoryAreaList;
    }

    public static class FactoryAreaListBean {
        /**
         * organization_id : 4
         * name : 一号工位
         * id : 12
         * type : 1
         */

        private int organization_id;
        private String name;
        private int id;
        private int type;
        private boolean haveWork;

        public boolean isHaveWork() {
            return haveWork;
        }

        public void setHaveWork(boolean haveWork) {
            this.haveWork = haveWork;
        }

        public int getOrganization_id() {
            return organization_id;
        }

        public void setOrganization_id(int organization_id) {
            this.organization_id = organization_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
